Skip to main content

speechSetEngine

Type

handler

Summary

Set the text to speech engine to use

Syntax

speechSetEngine(<pEngine>)

Description

Setting the speech engine causes the library to be re-initialized with the new engine. The speechLibraryInitialized message will be sent to the caller with a success parameter.

Examples

    on mouseUp
speechSetEngine "edu.cmu.cs.speech.tts.flite"
end mouseUp

on speechLibraryInitialized pSuccess
if pSuccess then
speechSpeakUtterance "Ready"
end if
end speechLibraryInitialized

Compatibility and Support

OS

android

Platforms

mobile